.\" DO NOT MODIFY THIS FILE!  It was generated by help2man 1.36.
.TH TS_PACKET_INSERT "1" "November 2008" "ts_packet_insert 1.11" "User Commands"
.SH NAME
ts_packet_insert \- insert packets into a Transport Stream
.SH DESCRIPTION
.SS "Usage:"
.IP
ts_packet_insert [\fIswitches\fR] \fI<infile>\fR [\fIswitches\fR]
.IP
Insert TS packets into a Transport Stream at a positions
specified by the user.
.SS "Input:"
.TP
<infile>
A H.222.0 TS stream.
.SS "Switches:"
.TP
\fB\-p\fR [positions]
This a a colon (':') delimited string of numbers
between 0 and 1, representing how far through to put
each ts packet.  E.g.  \fB\-p\fR 0.1:0.4:0.7:0.9 will insert
4 packets at 10%, 40%, 70% and 90% through the file.
.TP
\fB\-pid\fR [pid]
The inserted packets will have the pid specfied.
.TP
\fB\-s\fR [string]
The inserted packets will contain [string] as it's
payload.
.TP
\fB\-o\fR [output file] The new TS file will be written out to the file
specified. (defaults to out.ts)
.TP
\fB\-h\fR (\fB\-\-help\fR)
This message.
.SS "Example:"
.IP
ts_packet_insert \fB\-p\fR 0.3:0.6 \fB\-o\fR out.ts \fB\-pid\fR 89 \fB\-s\fR "AD=start" in.ts
.IP
ts_packet_insert [switches] <infile> [switches]
.IP
Insert TS packets into a Transport Stream at a positions
specified by the user.
.SS "Input:"
.TP
<infile>
A H.222.0 TS stream.
.SS "Switches:"
.TP
\fB\-p\fR [positions]
This a a colon (':') delimited string of numbers
between 0 and 1, representing how far through to put
each ts packet.  E.g.  \fB\-p\fR 0.1:0.4:0.7:0.9 will insert
4 packets at 10%, 40%, 70% and 90% through the file.
.TP
\fB\-pid\fR [pid]
The inserted packets will have the pid specfied.
.TP
\fB\-s\fR [string]
The inserted packets will contain [string] as it's
payload.
.TP
\fB\-o\fR [output file] The new TS file will be written out to the file
specified. (defaults to out.ts)
.TP
\fB\-h\fR (\fB\-\-help\fR)
This message.
.SS "Example:"
.IP
ts_packet_insert \fB\-p\fR 0.3:0.6 \fB\-o\fR out.ts \fB\-pid\fR 89 \fB\-s\fR "AD=start" in.ts
.SH "SEE ALSO"
The full documentation for
.B ts_packet_insert
is maintained as a Texinfo manual.
Please check http://tstools.berlios.de for more information.


